/**
 * 
 * @author Sunix
 * @date   2013-5-26
 * @Email  SunixSky@gmail.com
 * 
 */	
package core{
	import flash.display.Sprite;

	public class Layer{
		
		private static var _mapLayer:Sprite;
		private static var _main:Sprite;


		public static function init(value:Sprite):void{
			main = value;
			mapLayer = new Sprite();
			main.addChild(mapLayer);
		}

		public static function get mapLayer():Sprite{
			return _mapLayer;
		}

		public static function set mapLayer(value:Sprite):void{
			_mapLayer = value;
		}
		
		
		public static function get main():Sprite{
			return _main;
		}
		
		public static function set main(value:Sprite):void{
			_main = value;
		}

	}
}